//
//  LocationIndicatorViewController.m
//  DIYCityKorea
//
//  Created by 훈준 박 on 10. 5. 2..
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "IndicatorViewController.h"


@implementation IndicatorViewController
@synthesize indicatorView;
@synthesize messageLabel;
@synthesize messageString;

- (id)initWithNibName:(NSString *)nibNameOrNil withMessage:(NSString *)message bundle:(NSBundle *)nibBundleOrNil {
    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
		// Custom initialization
		self.messageString = message;
    }
    return self;
}

-(void)setMessage:(NSString*)message {
	self.messageString = message;
}

// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
	[self.indicatorView startAnimating];
	[self.messageLabel setText:self.messageString];
    [super viewDidLoad];
}

- (void)didReceiveMemoryWarning {
	// Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
	
	// Release any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload {
	// Release any retained subviews of the main view.
	// e.g. self.myOutlet = nil;
	self.messageLabel = nil;
	self.indicatorView = nil;
	self.messageString = nil;
}

- (void)dealloc {
	[messageLabel release];
	[indicatorView release];
	[messageString release];
    [super dealloc];
}


@end
